package grsu.epam.airline.DAO;

import grsu.epam.airline.model.Airport;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface IAirportDAO {
	public void addAirport(Airport airport) throws SQLException;

	public void updateAirport(Airport airport) throws SQLException;

	public Airport getAirportById(int airportId) throws SQLException;

	public void deleteAirport(int airportId) throws SQLException;

	public List<Airport> getAllAirport() throws SQLException;

	public Connection getConnection();

}
